-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix typing issues that appeared with cypress v9.1 upgrade #1791
Conversation
Your Render PR Server URL is https://storage-ui-stage-pr-1791.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c6j4iekobjda2kfphnog. |
Your Render PR Server URL is https://files-ui-stage-pr-1791.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c6j4if4objda2kfpho50. |
* new user every time * banner test with old test user
packages/files-ui/cypress/support/page-objects/authenticationPage.ts
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/LoginModule/ConciseExplainer.tsx
Outdated
Show resolved
Hide resolved
Added some very minor suggestions just for consistency, I've been putting the element type at the beginning of the string for identifiers (otherwise would have approved in advance but saw that auto-merge was on) :) |
Co-authored-by: Andrew Snaith <asnaith@users.noreply.github.com>
loginPasswordButton: () => cy.get("[data-cy=login-password-button]", { timeout: 20000 }), | ||
loginPasswordInput: () => cy.get("[data-cy=login-password-input]"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can change these 2 in another PR @asnaith or feel free to commit here directly before approving so that it's done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, think a separate house-keeping PR is best 👍
signInExplainerContinueButton: () => cy.get("[data-cy=button-sign-in-explainer-continue]", { timeout: 20000 }), | ||
signInSetupPasswordInput: () => cy.get("[data-cy=input-sign-in-password]"), | ||
signInSetupPasswordVerificationInput: () => cy.get("[data-cy=input-sign-in-password-verification]"), | ||
signInSetupPasswordSubmitButton: () => cy.get("[data-cy=button-sign-in-password]"), | ||
|
||
// save browser section elements | ||
saveBrowserButton: () => cy.get("[data-cy=save-browser-button]"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also those 2
If you open
packages/files-ui/cypress/support/commands.ts
indev
, you'll see red squiggles, although the tests run without issue.This PR fixes those typing issues.